package com.bill99.codecheck.schedule;

import com.bill99.codecheck.sonar.service.SonarProcessService;
import com.bill99.riaframework.common.helper.Bill99Logger;

public class SonarJobExecutor {
	private Bill99Logger logger = Bill99Logger.getLogger(this.getClass());
	private SonarProcessService sonarProcessService;

	public void setSonarProcessService(SonarProcessService sonarProcessService) {
		this.sonarProcessService = sonarProcessService;
	}

	public void execute() {
		logger.info("=========sonar scanning go=============");
		sonarProcessService.sonarDeal();
		logger.info("********sonar scanning end*************");
	}

}
